package com.example.myhelloworld.client;

import com.google.gwt.user.client.Random;
//import java.util.Random;

/*
*A generic variable that when created takes on a value between the bounds. Get that value with getValue().
*/
public class Variable {
  int min, max, value;
  Random generator;

  public Variable(int min, int max) {    
//    generator = new Random();
    value = Random.nextInt(max)+min;
//    value = generator.nextInt(max)+min;
  }

  public int getValue() {
    return value;
  }
}